package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_DRUG_MED database table.
 * 
 */
@Entity
@Table(name="YZR_DRUG_MED")
@NamedQuery(name="YzrDrugMed.findAll", query="SELECT y FROM YzrDrugMed y")
public class YzrDrugMed implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="DRUG_MED_ID")
	private String drugMedId;

	@Column(name="DRUG_MED_BACK_MONEY")
	private BigDecimal drugMedBackMoney;

	@Temporal(TemporalType.DATE)
	@Column(name="DRUG_MED_DATE")
	private Date drugMedDate;

	@Column(name="DRUG_MED_GRANT_MED_ID")
	private String drugMedGrantMedId;

	@Column(name="DRUG_MED_PATIENT")
	private String drugMedPatient;

	@Column(name="DRUG_MED_PERSON")
	private BigDecimal drugMedPerson;

	@Column(name="DRUG_MED_PHARMACY_ID")
	private String drugMedPharmacyId;

	public YzrDrugMed() {
	}

	public String getDrugMedId() {
		return this.drugMedId;
	}

	public void setDrugMedId(String drugMedId) {
		this.drugMedId = drugMedId;
	}

	public BigDecimal getDrugMedBackMoney() {
		return this.drugMedBackMoney;
	}

	public void setDrugMedBackMoney(BigDecimal drugMedBackMoney) {
		this.drugMedBackMoney = drugMedBackMoney;
	}

	public Date getDrugMedDate() {
		return this.drugMedDate;
	}

	public void setDrugMedDate(Date drugMedDate) {
		this.drugMedDate = drugMedDate;
	}

	public String getDrugMedGrantMedId() {
		return this.drugMedGrantMedId;
	}

	public void setDrugMedGrantMedId(String drugMedGrantMedId) {
		this.drugMedGrantMedId = drugMedGrantMedId;
	}

	public String getDrugMedPatient() {
		return this.drugMedPatient;
	}

	public void setDrugMedPatient(String drugMedPatient) {
		this.drugMedPatient = drugMedPatient;
	}

	public BigDecimal getDrugMedPerson() {
		return this.drugMedPerson;
	}

	public void setDrugMedPerson(BigDecimal drugMedPerson) {
		this.drugMedPerson = drugMedPerson;
	}

	public String getDrugMedPharmacyId() {
		return this.drugMedPharmacyId;
	}

	public void setDrugMedPharmacyId(String drugMedPharmacyId) {
		this.drugMedPharmacyId = drugMedPharmacyId;
	}

}